home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
da
/
hyperdic.sit
/
HyperTalkDictionary.rsrc
/
TEXT_-15392_HyperTalk Dictionary.txt
< prev
next >
Wrap
Text File
|
1988-04-03
|
29KB
|
1,039 lines
HyperTalk Dictionary may be distributed freely except as part of any
commerical product. This DA was created with Bill Steinberg's great
DisplayDA. What a great tool! The data was drawn from the stack
HyperTalk Index. Thanks to George John and BBR Unlimited for compiling
and distributing this information. The number in the parentheses with
each entry is a page number reference to "The Complete HyperCard
Handbook" by Danny Goodman.
George Coyne
CIS - 75776,1463
GEnie - GWCoyne
-----------------------------------------------------------------------
abs (number)
Example: abs -25
abs
Use: Returns the absolute value of a number (548)
Add <source> to <container>
Example: add field "item 1" to field "temp"
add 1 to buffer
Use: Adds one number (or number in a container) to another already
in a container. (441)
annuity (periodic rate, number of periods)
Example: annuity (0.12, 24)
Use: Returns the present value of a single payment unit. Multiply
the result by the amount for the annuity value. (548)
answer <question> [with <reply> [or <reply>[or <reply>]]]
Example: answer "Delete Page" "OK" "Cancel"
answer "Add Page" with "OK" or "Cancel"
Use: Prompts the user with a dialog box. Places result in "it" (463)
ask <question> [with <reply>]
Example: ask "Enter number of pages"
ask "What is the loan rate" with 12%
Use: Prompt the user to type reply in a dialog box. Places response
into "it". (465)
ask password <question> [with <reply>]
Example: ask "Please enter your password" "OK' "Cancel"
Use: User stack access protection. The user's response is encrypted
and stored for later verification. (465)
atan (angle in radians)
Example: atan (25)
Use: Returns the arctangent of an angle (549)
autoHilite <true or false>
Example: set autoHilite of card button 1 to true
Use: Sets the hiliting of a check box button. (510)
average (number list)
Example: average (12,32,14,65)
Use: Returns the average of a list of comma separated numbers. (549)
beep [<number of beeps>]
Example: beep 5
beep field "Error"
Use: Sends audible beep(s) to the user. (469)
blindTyping <true or false>
Example: set the blindTyping to true.
Use: Allows the operator to type into a hidden message box. (484)
brush <brush number 1 to 32>
Example: set the brush to 12
Use: Establish the shape of the paintbrush tool (Default is 8). (494)
centered <true or false>
Example: set the centered to true
Use: Controls the Options menu setting for Draw Centered. (495)
choose <tool name> tool
Example: choose button tool
choose text tool
choose browse tool
Use: Selects a tool in the tool palette. The word "tool" must follow
the named selection. (429)
click at <location> [with <modifier key>]
Example: click at 100,200 with OptionKey
get loc of field 1
click at it
Use: Equivalent to clicking at a screen coordinate. Use with "loc"
command. (430)
close printing
Example: close printing
Use: Tells HyperCard that printing is complete. (439)
close file <file name>
Example: close file "Resume"
close it
Use: Closes access to disk file (475)
compound (periodic rate, number of periods)
Example: compound (0.12, 36)
Use: Returns the future value factor based upon the rate and number
of periods. (549)
convert <container> to <format>
Example: convert field 1 to seconds
convert "Date" to short date
convert it to long time
Use: Converts date and time to allow manipulation and display (446)
cos (angle in radians)
Example: cos (34)
Use: Returns the cosine of an angle. (549)
cursor <id number or name>
Example: set the cursor to 4
Use: Determines which cursor is displayed on the screen. (ID Numbers
1 through 4 are valid) (485)
delete <components>
Example: delete field "Name"
delete word of field "Name"
delete line 1 of field 5
Use: Removes text from a field or container (420)
dial <phone number> [with [modem]<modem parameters>]
Example: dial 555-1212
dial it
dial "Number" with modem "ATS7=IDT"
Use: Sends dial commands to the modem or audio port. (424)
divide <container> by <source>
Example: divide field 1 by 60
divide it by field "Total"
divide field 1 by field 2
Use: Divides a number in a container by another number or container. (445)
do <source>
Example: do field "Command" of card 1
do it
do field ID 2707
Use: Performs the HyperCard command located at the beginning of a
container. (428)
doMenu <menu item>
Example: doMenu "New Card"
doMenu "Find..."
doMenu "First"
Use: Selects and executes any menu item. The menu item must be
entered exactly as it appears in the menu. (420)
down
Example: if the optionKey is down
Use: Test the conditions of keyboard keys or the mouse button. (577)
drag from <location> to <location> [with<modifier key>]
Example: drag from 350,125 to 350, 235
drag from buf1 to buf2
Use: Drags the mouse across the screen. Use "loc" command to
determine coordinates. (431)
dragSpeed <number>
Example: set dragSpeed to 150
Use: Controls the speed in pixels per second, at which the drag
command operates. (486)
edit script of <target>
Example: edit script of card 5
edit script of card button "Password"
edit script of stack "Auto Sign-on"
Use: Opens the Script Editor window to allow for script
modification. (458)
editBkgnd <true or false>
Example: set editBkgnd to true
Use: Activates/Deactivates the background for editing. (487)
empty
Example: put empty into field ID 5
Use: Null text string. Use to clear a container. (579)
exp (number)
Example: exp(4)
Use: Returns the natural base-e exponential. (549)
exp1 (number)
Example: exp1(4)
Use: Returns the natural exponential minus 1. (550)
exp2 (number)
Example: exp2(4)
Use: Returns the base-2 exponential. (550)
false
Use: Sets conditions or tests the results of an operation. (577)
filled <true or false>
Example: set the filled to true
Use: Controls the Options menu setting for Draw Filled.
(495)
find [char[acter]s | word] <source>[in <field>]
Example: find "98004" in "ZIP" field
find field 1 in field 2
find temp1
Use: Searches the current stack or a specific field in current stack
for a string (case insensitive). (409)
formfeed
Example: write formfeed to file "Misc. Text"
Use: Control character for printers. Used in printing text files
created with the write command. (580)
get (1) <property> [of <target>]
Example: get location of button "Name"
get textFont of field 1
get name of button 3
Use: Retrieves object properties and places them in "it". You must
specify the type of object (e.g. card, button,etc.). (454)
get (2) <expression>
Example: get field 5
get the short date
get item 1 of field "Criteria"
Use: Places the the contents of an expression in the local variable
"it". (419)
global <variable list>
Example: global Temp1
global Buf1,Buf2,Buf3
global ZipCode
Use: Initializes a variable that will retain information after a
message handler ends. (457)
go [to] <destination>
Example: go to card ID 3452
go back
go to second card of "To Do"
Use: Navigation command that takes you from one card or stack to
another. (407)
grid <true or false>
Example: set the grid to true
Use: Activates/Deactivates the screen drawing grid. (496)
help
Example: help
Use: Takes the user to the help file. Used in conjunction with a
trap for custom help files. (413)
hide menubar | <window> | <field or button>
Example: hide menubar
hide tool window
hide backgroung button 3
Use: Hide objects from view. The complement of the show command.
(449)
hilite <true or false>
Example: set hilite of bkgnd button 1 to true
Use: Set the hiliting of a button when clicked. (510)
icon <icon number or name>
Example: set icon of button "?" to 23142
Use: Controls the icon art that is assigned to a button when
accompanied by a valid icon name or number. (511)
if <true/false> then <command>
if <true/false> then <command> else <command>
Example: if field 1 is empty then
if field 1 is 2 then go next else go home
Use: Test for conditions. (586)
language <language name>
Example: set the language to French
Use: Controls the language editor in use to translate the English
scripts to a different language. (487)
linefeed
Example: write linefeed to file "Misc. Text"
Use: Control character for printers. Used in printing text files
created with the write command. (580)
lineSize <1,2,3,4,6, or 8 pixels>
Example: set lineSize to 6
Use: Determines the thickness of lines painted by various tools.
(Default is 10.) (497)
ln (number)
Example: ln(4)
Use: Returns the natural base-e logarithm. (550)
ln1 (number)
Example: ln1(4)
Use: Returns the natural log of 1 plus the number (550)
loc[ation] <left>, <top>
Example: set location of tool window to 45,125
set loc of pattern window to 150,200
Use: Defines the display position of the top left corner of a window (492)
loc[ation] <center h>, <center v>
Example: set loc of field 3 to 100,200
get location of field 8
Use: Sets or gets the center point of a field. (503)
loc[ation] <center h>, <center v>
Example: set loc of card button 1 to 50,100
Use: Controls the centerpoint of a button on the screen. (512)
lockScreen <true or false>
Example: set lockScreen to true
Use: Controls the screen updating during script execution. May help
speed the execution of long scripts. (488)
lockText <true or false>
Example: set lockText of card field 2 to true
Use: Controls the ability to modify field text. (504)
max (number list)
Example: max 24,35,36,12)
Use: Returns the highest value number in the list. (550)
min (number list)
Example: min(14,24,46,23)
Use: Returns the lowest value number in the list. (550)
multiple <true or false>
Example: set multiple to true
Use: Controls the Draw Multiple menu option. Adjust image with
multiSpace command. (497)
multiply <container> by <source>
Example: multiply field 1 by field 2
multiply field "hours" by 5.5
multiply field ID 3423 by field "Total"
Use: Multiplies one value in a container by a second value. (444)
multiSpace <1 to 9>
Example: set the multiSpace to 8
Use: Determines the number of pixels between multiple images.
Use in conjunction with multiple command. (497)
name <card name or ID number>
Example: get the name of this card
set the name of this stack to "Test"
get the short name of this stack
Use: Sets the name of an object. (501)
name <button name or ID number>
Example: set name of card field 1 to "Test"
Use: Defines the name of field. (504)
name <button name or ID number>
Example: set name of button ID 2341 to "Help"
Use: Controls the name of a button. (513)
numberFormat <format string>
Example: set the number format to "00.000"
Use: Controls the display format of a math result. (Default is 6
decimal places.) (489)
offset (<expression>,<expression>)
Example: offset ("Mr.", field 5)
put offset (field 1, field 2) into it
Use: Compare any piece of text with an entire container. It returns
the starting number of the text match. (538)
open [<document> with] <application>
Example: open "Resume" with "MacWrite"
open field 2 with "MoreΓäó"
open "hard disk:applications:MacWrite"
Use: Opens another application or document. Suspends HyperCard and
returns upon close of application. (436)
open file <file name>
Example: open file "Resume"
open file "Hard Disk:Stuff:Resume"
open file it
Use: Establishes pathway for importing and exporting data. (475)
open printing [with dialog]
Example: open printing
open printing with dialog
Use: Readies the HyperCard printing system and can return the print
dialog box. (439)
pattern <pattern number 1 to 40>
Example: set pattern to 13
Use: Sets the current pattern. Numbered top to bottom, left to
right. (498)
play <voice> [tempo <speed>] [<notes>][#|b] [octave] [duration]
Example: play "harpsichord" tempo 120 "ce e g"
Play "boing"
Use: Plays digitized sounds (installed as resources) with a variety
of tempos, pitches, and lengths (470)
polySides <number of polygon sides greater than 2>
Example: set polySides to 5
Use: Sets the number of sides drawn by the polygon tool. (499)
pop card [into <container>]
Example: pop card
pop card into "Temp1"
Use: Displays pushed card from anywhere within HyperCard.
If optional parameter is used, card ID is stored in container.
(411)
powerKeys <true or False>
Example: set powerKeys to true
Use: Controls Power Key settings (used when painting). (490)
print (1) [all | <number> cards] | [this <card>]
Example: print 8 cards
go to stack "help"
print card ID 1234
Use: Queue up multiple cards (from multiple stacks) and print as if
it were one stack. (439)
print (2) <file name> with <application>
Example: print "resume" with MacWrite
print "budget" with Multiplan
Use: Prints a file generated by another application. Document and
application pathways must be specified in the home card. (480)
push [this | recent] card
Example: push card
push recent card
push card 42 of "Profile"
Use: Marks a card for instant retrieval with the pop command. (411)
put <source> [into | after | before <container>]
Example: put 25 into field ID 1242
put it after word 1 of field "Greeting"
put field 1 into temp1
Use: Places information into container or from one container to
another. (415)
quote
Example: put & quote & "Hello" & quote & into field ID 23
Use: Places quote marks around text in a field (579)
read from file <file name> until <delimiter char> | for <number of ¬
bytes>
Example: read from "resume" until return
read from "profile" for 55
Use: Imports data from another file into fields in the card. Use
open file command to establish pathway. (476)
rect[angle] <left>,<top>, <right>, <bottom>
Example: get rectangle of tool window
get rect of pattern window
Use: Reveals the top left, and bottom right coordinates of a
window. Not valid with the set command (use loc). (493)
rect[angle] <left>, <top>, <right>, <bottom>
Example: set rect of field 2 to 25,75, 100,200
get rectangle of card field ID 3425
Use: Controls the size and location of a field. (505)
rect[angle] <left>, <top>, <right>, <bottom>
Example: rect of button ID 324 75,75,125,185
Use: Controls the size and location of a button. (514)
repeat for <number of times> [times]
Example: repeat for 10 times
Use: Allows multiple execution of a command or routine between
repeat and end repeat commands. (590)
repeat until <true/false>
Example: repeat until the mouseClick
Use: Allows multiple execution of a command or routine between
repeat and end repeat commands. (591)
repeat with <variable> = <low no.> to <high no.>
Example: repeat with x=1 to number of fields
Use: Allows multiple execution of a command or routine between
repeat and end repeat commands. (593)
return
Example: on tab
put return after word 1 of field 2
Use: Place in fields or test for conditions. (580)
round (numbers)
Example: round(1.667)
Use: Returns the nearest whole number. (551)
script <script>
Example: get the script for this card
Set the script of card to it
Use: Controls the script from within a script. Used for
self-modifing code. Modify from variable with put command.
(502)
script <script>
Example: get script from card field 1
set the script of card field 1 to temp
Use: Controls a script from within a script. Self-modifing code.
(506)
script <script>
Example: get script of button ID 2342
set script of button "Test" to it
Use: Modify the script of a button within a button. (514)
scroll <pixels from top of text>
Example: set scroll of field 3 to 25
Use: Automatically advance a scrolling field to display other than
at its top. (507)
send <message> to <target>
Example: send mouseUp to bkgnd button ID 1112
sent doMenu Quit to HyperCard
send mouseUp to button "New Card"
Use: Sends a message directly to an object within HyperCard. (427)
set <property> [of <target>] to <new setting>
Example: set hilite of button ID 1232
set set location of "New Field" to it
set name of "New Button" to "More"
Use: Assigns new properties to object. (454)
show (1) [<number> | all] cards
Example: show all cards
show 10 cards
Use: Displays a set number of cards in the current stack following
the current card. (451)
show (2) menubar | <windows> | <field or button>[at <location>]
Example: show menubar
show button "more"
show msg at 250,350
Use: Makes visible all hidden objects. (451)
showLines <true or false>
Example: set the showLine of field 3 to true
Use: Controls the display lines of a field. (504)
showName <true or false>
Example: set showName of button ID 343 to true
Use: Controls the display or non-display of a buttons name. (510)
sin (angle in radians)
Example: sin(75)
Use: Returns the sin of an angle (551)
sort [ascending | descending] [text | numeric | international | ¬
datetime] by <container>
Example: sort by field 1
sort descendind by "Zip Code"
sort by second word of field ID 2341
Use: Sorts cards in a stack (ascending is the default order) by a
specific container. (434)
space
Example: put space after word 1 of field 1
Use: Place in fields. (580)
sqrt (number)
Example: sqrt(64)
Use: Returns the square root of a number. (551)
style <transparent | opaque | rectangle |shadow | scrolling>
Example: set style of field ID 234 to shadow
Use: Sets the text style of a field. (507)
style <transparent | opaque | rectangle | shadow | roundRect | ¬
checkBox | radioButton>
Example: set style of button ID 2342 to opaque
set style of button ID 123 to shadow
Use: Controls the style of button displayed. (515)
subtract <source> from <container>
Example: subtract 1 from buf1
subtract "Temp" from "Total"
subtract field 1+50 from field 2
Use: Subtracts one number from another or another container. (442)
tab
Example: on tab
type tab
put tab before word 3 of field ID 452
Use: Test for condition or insert into fields. (580)
tan (angle in radians)
Example: tan(33)
Use: Returns the tangent of an angle. (551)
textAlign <left |right | center>
Example: set textAlign to right
Use: Controls the positioning of text while in the paint mode. (499)
textAlign <left | right | center>
Example: set textAlign of field ID 3425 to center
Use: Controls the text positioning within a field. (508)
textAlign <left | right | center>
Example: set textAlign of button id 23 to right
Use: Controls the font attributes of a buttons name when displayed.
(Cannot be altered by Dialog Box.) (516)
textFont <font name>
Example: set textFont to Athens
Use: Controls the font selection while in the paint mode. (499)
textFont <font name>
Example: set font of field "Date" to 18
Use: Controls the font type within a field. (508)
textFont <font name>
Example: set textFont of button "Help" to Athens
Use: Controls the font attributes of a buttons name when displayed.
(Cannot be altered by Dialog Box.) (516)
textHeight <leading>
Example: set textHeight to 20
Use: Controls the line height while in the paint mode. (499)
textHeight <leading>
Example: set textHeight of field 12 to 20
Use: Controls the line height within a field. Should be at least 2
greater than textSize. (508)
textHeight <leading>
Example: set textHeight of bkgnd button 5 to 14
Use: Controls the font attributes of a buttons name when displayed.
(Cannot be altered by Dialog Box.) (516)
textSize <font size>
Example: set textSize to 18
Use: Controls the font size while in the paint mode. (499)
textSize <font size>
Example: set textSize of field 12 to 18
Use: Controls the text height within a field. (508)
textSize <font size>
Example: set textSize of button ID 45 to 18
Use: Controls the font attributes of a buttons name when displayed.
(Cannot be altered by Dialog Box.) (516)
textStyle <bold | italic | underline | outline |shadow| condense | ¬
extend | plain>
Example: set the textStyle to bold, italic, extend
Use: Controls the font attributes while in the paint mode. Separate
multiple parameters with commas. (499)
textStyle <bold | italic | underline | outline |shadow | condense | ¬
extend | plain>
Example: set text Style of field 2 to bold, italic
Use: Sets the text display parameters within a field. Separate
multiple parameters with commas. (508)
textStyle <bold | italic | underline | outline |shadow | condense | ¬
extend | plain>
Example: set textStyle of button ID 8 bold, italic
Use: Controls the font attributes of a buttons name when displayed.
(Cannot be altered by Dialog Box.) (516)
the abbreviated or abbrev | abbr date
Example: put the abbrev into field "Date"
Use: Returns the abbreviated form of the date (Mon, Jul 7, 1987).
Use with the put command. (523)
the charToNum of <character>
Example: the charToNum "A"
put the charToNum of "a" into it
Use: Converts the character to its ASCII numeric value. The
complement of the numToChar command. (541)
the clickloc
Example: show item 3 at the clickLoc
Use: The screen coordinates of the last mouse click. For use with
long message handlers. (535)
the commandKey
Example: if the commandKey is down then
Use: Modifies the execution of a script if true or false. (531)
the date
Example: put the date into it
Use: Returns the date in 12/12/87 format. (523)
the length of <container>
Example: get the length of background field 2
Use: Returns the number of text characters in a container. (537)
the long date
Example: put the long date into "Date" field
Use: Returns the dat in the Thursday, October 12, 1987 format. (423)
the long time
Example: put the long time into "Begin" field
Use: Returns the time in the 10:15:12 p.m. format. (524)
the mouse [is up | is down]
Example: repeat while the mouse is down
play "notes"
end repeat
Use: Allows user to perform functions with the mouse in either the
up or down position. (534)
the mouseClick
Example: if the mouseClick true then
beep
end if
Use: Sends a true condition upon depressing the mouse (534)
the mouseH
Example: if the mouseH >120 then put "√" into field 5
Use: Allows you to obtain the horizontal coordinates of the mouse.
(529)
the mouseLoc
Example: on mouseUp
put the mouseLoc into buf1
show message at buf1
Use: Returns the horizontal and vertical coordinates of the mouse
cursor. (529)
the mouseV
Example: if the mouseV >120 then put "√" into field 5
Use: Returns the vertical coordinates of the mouse cursor. (529)
the number [of] <components> in <containers>
Example: if the number of lines in field 1
put the number of words of field 1 into field 5
Use: returns the number of components in a container. (540)
the number of cards | buttons | fields
Example: put the number of cards in it
if the number of bkgnd fields is < 6
if the number of card buttons = 3
Use: Returns the quantity of designated items. (553)
the numToChar of <ASCII value>
Example: the numToChar "25"
put the numToChar of "24" into it
Use: Converts the ASCII value to its appropriate character. The
complement of the charToNum command. (541)
the optionKey
Example: if the option key is down
Use: Modifies the execution of a script if true or false. (531)
the param of <parameter number>
Example: send toText 3
on toText
put the param of toText into it
Use: Used with subroutines to give scripts access to parameters that
are sent with messages. (558)
the paramcount
Example: put param count of toText into it
Use: Used with repeat instruction to give scripts access to the
number of parameters that are sent with messages. (558)
the random of <upper bound>
Example: put the random of 999 into it
Use: Returns a random number between 1 and 32767 (upper limit). (545)
the result
Example: if the result is invalid date then doDate
Use: Create handlers to trap for command failures (555)
the seconds
Example: put the seconds into it
subtract "Last Changed" from the secs
Use: Returns (in the billions) the total number of seconds from
January 1, 1904 . (525)
the shiftKey
Example: if the shift key is down
send upperScript
Use: Modifies the execution of a script if true or false. (531)
the sound
Example: repeat while the sound is not done
Use: Delays the execution of a script until the play command has
completed its routine. (556)
the target
Example: get short name of the target
Use: Returns the ID number of the object receiving the last message
sent up the hierarchy. (667)
the ticks
Example: put the ticks into temp
Use: Returns the number of 1/60th seconds since power up. Can be
used to trap for double click. (526)
the time
Example: put the time into field 1
Use: Returns the time in the 10:15 (or 22:15)p.m. format. (524)
the value of <container or expression>
Example: put the value of "Total" in it
Use: Returns the value of an arithmetic expression or an expression
within a container. (546)
true
Use: Sets conditions or tests the results of an operation. (577)
trunc (number)
Example: trunc(5.345)
Use: Returns the next lowest whole number. (551)
type <source>
Example: type "One character at a time."
Use: The equivalent of typing into a field. Works one character at
a time. Also, use to generate graphics text form a script.
(433)
up
Example: if the optionKey is up
Use: Test the conditions of keyboard keys or the mouse button. (577)
userLevel <1 to 5>
Example: set userLevel to 2
Use: Controls the User Lever for a HyperCard session. (491)
visible <true or false>
Example: set the visible of tool window to true
Use: Establishes the visibility of a window. (It may be better to
use the show and hide commands.) (494)
visible <true or false>
Example: set visible of field 3 to false
Use: Controls the visibility of a field. The hide and show commands
may be better options. (509)
visible <true or false>
Example: set visible of button ID 2341 to true
Use: Set the visibility of a button. (You may prefer the shorter
Hide and Show commands.) (517)
visual [effect] <effect name> [<speed>] [to black | white]
Example: visual effect wipe up slowly to black
visual effect iris open
visual effect barn door close
Use: Controls HyperCard visual effects when navigating to another
card. (461)
wait [for] <time quantity> ticks | seconds
Example: wait for 30 seconds
wait 10 ticks
wait for field "Delay" seconds
Use: Delays the execution of an instruction until a set time. A tick
is equal to 1/60th of a second. (422)
wait until <boolean>
Example: wait until the command Key is down
wait until mouseClick
Use: Waits until certain conditions are met. (422)
wait while <boolean>
Example: wait while the shiftKey is down
wait while the mouse is down
Use: Waits until certain conditions are met. (422)
wideMargins <true or false>
Example: set wideMargins of field 4 to true
Use: Sets the margins between text and field walls. (504)
write <source> to file <file name>
Example: write temp1 to file "Resume"
write field ID 3453 to file "Documents"
Use: Exports data from HyperCard field to a external text file. Set
the pathway with open file. (478)